import request from '@/utils/request'

export function getJoggles(query) {
  return request({
    url: '/program/joggle/getList',
    method: 'post',
    data: query
  })
}

export function getJoggle(id) {
  return request({
    url: '/program/joggle/getDetail',
    method: 'post',
    data: id
  })
}

export function saveJoggle(id) {
  return request({
    url: '/program/joggle/save',
    method: 'post',
    data: id
  })
}

export function removeJoggleByID(id) {
  return request({
    url: '/program/joggle/delete',
    method: 'post',
    data: id
  })
}

export function changeJoggleStatusByID(id) {
  return request({
    url: '/program/joggle/change-status',
    method: 'post',
    data: id
  })
}

